list3 = ["张三","李四","王五","马六","吴七"]
name = input()
if name in list3:
    print("在列表中")
    print(list3.index(name))
else:
    print("不在列表中")